package com.rightsidetech.activity.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * act_ride_activity
 * @author
 */
@Data
public class ActRideActivity implements Serializable {
    /**
     * 主键
     */
    private Long id;

    private Long areaId;
    private String areaName;

    /**
     * 代理商id
     */
    private Long agentInfoId;

    /**
     * 代理商名称
     */
    private String agentName;

    /**
     * 代理商登录id
     */
    private Long agentLoginId;

    /**
     * 代理商登录名
     */
    private String agentLoginName;

    /**
     * 门店名称
     */
    private String storeName;

    /**
     * 门店id
     */
    private Long storeId;

    /**
     * 活动开始时间
     */
    private Date startTime;

    /**
     * 活动结束时间
     */
    private Date endTime;

    /**
     * 型号
     */
    private String model;

    /**
     * 状态 0-待处理 -1已拒绝 -1审核通过 2-骑行结果待审核 3-骑行结果已通过 -2骑行结果已驳回
     */
    private Byte status;

    /**
     * 创建时间(申请时间)
     */
    private Date createdAt;

    /**
     * 审核人
     */
    private String verifyName;

    /**
     * 审核人id
     */
    private Long verifyId;

    /**
     * 骑行审核时间
     */
    private Date verifyDate;

    /**
     * 备注
     */
    private String remark;

    /**
     * 图片
     */
    private String pictures;

    /**
     * 上传结果时间
     */
    private Date upTime;

    /**
     * 上传人登录id
     */
    private Long uploadLoginId;

    /**
     * 上传人登录名
     */
    private String uploadLoginName;

    private static final long serialVersionUID = 1L;

    public void setUploadLoginId(Long uploadLoginId) {
        this.uploadLoginId = uploadLoginId;
    }

    public void setUploadLoginName(String uploadLoginName) {
        this.uploadLoginName = uploadLoginName;
    }

    public Long getUploadLoginId() {
        return uploadLoginId;
    }

    public String getUploadLoginName() {
        return uploadLoginName;
    }
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAgentInfoId() {
        return agentInfoId;
    }

    public void setAgentInfoId(Long agentInfoId) {
        this.agentInfoId = agentInfoId;
    }

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName;
    }

    public Long getAgentLoginId() {
        return agentLoginId;
    }

    public void setAgentLoginId(Long agentLoginId) {
        this.agentLoginId = agentLoginId;
    }

    public String getAgentLoginName() {
        return agentLoginName;
    }

    public void setAgentLoginName(String agentLoginName) {
        this.agentLoginName = agentLoginName;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public String getVerifyName() {
        return verifyName;
    }

    public void setVerifyName(String verifyName) {
        this.verifyName = verifyName;
    }

    public Long getVerifyId() {
        return verifyId;
    }

    public void setVerifyId(Long verifyId) {
        this.verifyId = verifyId;
    }

    public Date getVerifyDate() {
        return verifyDate;
    }

    public void setVerifyDate(Date verifyDate) {
        this.verifyDate = verifyDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getPictures() {
        return pictures;
    }

    public void setPictures(String pictures) {
        this.pictures = pictures;
    }

    public Date getUpTime() {
        return upTime;
    }

    public void setUpTime(Date upTime) {
        this.upTime = upTime;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        ActRideActivity other = (ActRideActivity) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
                && (this.getAgentInfoId() == null ? other.getAgentInfoId() == null : this.getAgentInfoId().equals(other.getAgentInfoId()))
                && (this.getAgentName() == null ? other.getAgentName() == null : this.getAgentName().equals(other.getAgentName()))
                && (this.getAgentLoginId() == null ? other.getAgentLoginId() == null : this.getAgentLoginId().equals(other.getAgentLoginId()))
                && (this.getAgentLoginName() == null ? other.getAgentLoginName() == null : this.getAgentLoginName().equals(other.getAgentLoginName()))
                && (this.getStoreName() == null ? other.getStoreName() == null : this.getStoreName().equals(other.getStoreName()))
                && (this.getStoreId() == null ? other.getStoreId() == null : this.getStoreId().equals(other.getStoreId()))
                && (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime()))
                && (this.getEndTime() == null ? other.getEndTime() == null : this.getEndTime().equals(other.getEndTime()))
                && (this.getModel() == null ? other.getModel() == null : this.getModel().equals(other.getModel()))
                && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
                && (this.getCreatedAt() == null ? other.getCreatedAt() == null : this.getCreatedAt().equals(other.getCreatedAt()))
                && (this.getVerifyName() == null ? other.getVerifyName() == null : this.getVerifyName().equals(other.getVerifyName()))
                && (this.getVerifyId() == null ? other.getVerifyId() == null : this.getVerifyId().equals(other.getVerifyId()))
                && (this.getVerifyDate() == null ? other.getVerifyDate() == null : this.getVerifyDate().equals(other.getVerifyDate()))
                && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
                && (this.getPictures() == null ? other.getPictures() == null : this.getPictures().equals(other.getPictures()))
                && (this.getUpTime() == null ? other.getUpTime() == null : this.getUpTime().equals(other.getUpTime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getAgentInfoId() == null) ? 0 : getAgentInfoId().hashCode());
        result = prime * result + ((getAgentName() == null) ? 0 : getAgentName().hashCode());
        result = prime * result + ((getAgentLoginId() == null) ? 0 : getAgentLoginId().hashCode());
        result = prime * result + ((getAgentLoginName() == null) ? 0 : getAgentLoginName().hashCode());
        result = prime * result + ((getStoreName() == null) ? 0 : getStoreName().hashCode());
        result = prime * result + ((getStoreId() == null) ? 0 : getStoreId().hashCode());
        result = prime * result + ((getStartTime() == null) ? 0 : getStartTime().hashCode());
        result = prime * result + ((getEndTime() == null) ? 0 : getEndTime().hashCode());
        result = prime * result + ((getModel() == null) ? 0 : getModel().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getCreatedAt() == null) ? 0 : getCreatedAt().hashCode());
        result = prime * result + ((getVerifyName() == null) ? 0 : getVerifyName().hashCode());
        result = prime * result + ((getVerifyId() == null) ? 0 : getVerifyId().hashCode());
        result = prime * result + ((getVerifyDate() == null) ? 0 : getVerifyDate().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        result = prime * result + ((getPictures() == null) ? 0 : getPictures().hashCode());
        result = prime * result + ((getUpTime() == null) ? 0 : getUpTime().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", agentInfoId=").append(agentInfoId);
        sb.append(", agentName=").append(agentName);
        sb.append(", agentLoginId=").append(agentLoginId);
        sb.append(", agentLoginName=").append(agentLoginName);
        sb.append(", storeName=").append(storeName);
        sb.append(", storeId=").append(storeId);
        sb.append(", startTime=").append(startTime);
        sb.append(", endTime=").append(endTime);
        sb.append(", model=").append(model);
        sb.append(", status=").append(status);
        sb.append(", createdAt=").append(createdAt);
        sb.append(", verifyName=").append(verifyName);
        sb.append(", verifyId=").append(verifyId);
        sb.append(", verifyDate=").append(verifyDate);
        sb.append(", remark=").append(remark);
        sb.append(", pictures=").append(pictures);
        sb.append(", upTime=").append(upTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}